<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>6_元素溢出</title>
    <style>
        div{
            width: 300px;
            height: 500px;
            border: 5px solid #000;
            overflow: visible;/*溢出可见的（默认）*/
            overflow: hidden;/*移除隐藏，多余部分截掉，另一个功能结界保护（高度坍塌）*/
            overflow: scroll;/*溢出显示滚动条,没溢出时也会显示*/
            overflow: auto;/*哪边溢出哪边显示滚动条*/
        }
        img{
            width: 200px;
            vertical-align: baseline;/*与字母基线对齐（默认）*/
            vertical-align: bottom;/*与字母底线对齐*/
            vertical-align:top;/*顶线对齐*/
            vertical-align: middle/*中线对齐*/
        }
    </style>
</head>
<body>
abyj<img src="../day01/test1.png">国圈<img src="../day01/test1.png">
<div>

    <img src="img/1.png">
    <img src="img/1.png">
    <img src="img/1.png">
    <img src="img/1.png">
    <img src="img/1.png">
</div>
</body>
</html>